<%--
  Created by IntelliJ IDEA.
  User: ghost
  Date: 2020/1/9
  Time: 11:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form method="post" action="update.jhtml">
    <table>
        <input type="hidden" name="id" value="${user.id}">
        <tr><td>用户名称：</td><td><input name="userName" type="text" value="${user.userName}"></td></tr>
        <tr><td>姓名：</td><td><input name="name" type="text" value="${user.name}"></td></tr>
        <tr><td>电话：</td><td><input name="telephone" type="text" value="${user.telephone}"></td></tr>
        <tr><td>单位：</td><td><input name="unit" type="text" value="${user.unit}"></td></tr>
        <tr><td>地址：</td><td><input name="landMark" type="text" value="${user.landMark}"></td></tr>
        <tr><td>入职日期：</td><td><input name="enterdate" type="text" value="<fmt:formatDate value="${user.enterdate}" pattern="yyyy-MM-dd"/> "></td></tr>
        <tr><td><input type="submit" value="修改"></td></tr>
    </table>
</form>
</body>
</html>
